package ldh.im.fxbase.data.pojo;

import ldh.im.fxbase.data.pojo.status.ImMessageActionStatus;
import ldh.im.fxbase.data.pojo.status.ImMessageFileStatus;
import ldh.im.fxbase.data.pojo.status.ImMessageStatus;

import java.util.Date;

public class ImMessageSend {

    private Long id;
    private Long messageId;
    private String userId;
    private ImMessageStatus status;
    private ImMessageFileStatus fileStatus;        // 附件的状态
    private ImMessageActionStatus actionStatus;
    private Date createTime;
    private Date updateTime;

    public ImMessageSend(){
        createTime = new Date();
        updateTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public ImMessageStatus getStatus() {
        return status;
    }

    public void setStatus(ImMessageStatus status) {
        this.status = status;
    }

    public ImMessageFileStatus getFileStatus() {
        return fileStatus;
    }

    public void setFileStatus(ImMessageFileStatus fileStatus) {
        this.fileStatus = fileStatus;
    }

    public ImMessageActionStatus getActionStatus() {
        return actionStatus;
    }

    public void setActionStatus(ImMessageActionStatus actionStatus) {
        this.actionStatus = actionStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
